﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>试卷查看</title>
    <link href="../css/Exam.css" rel="stylesheet" type="text/css" />
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
    <link href="../css/Jqbox.css" rel="stylesheet" type="text/css" />
    <link href="../css/jquery.loadmask.css" rel="stylesheet" type="text/css" />
    <script src="../Js/jquery-1.5.2.min.js" type="text/javascript"></script>
    <script src="../Js/ligerui.min.js" type="text/javascript"></script>
    <script src="../Js/jquery.dialog.js" type="text/javascript"></script>
    <script src="../Js/jquery.loadmask.min.js" type="text/javascript"></script>
    <script src="../Js/jquery.lwtCountdown.js" type="text/javascript"></script>
    <script src="../Js/json2.js" type="text/javascript"></script>
    <script src="../Js/conmon.js" type="text/javascript"></script>
    <script src="../Js/Exam/ViewLibSubject.js" type="text/javascript"></script>
    <style type="text/css">
        .edittable td.editcellmessage,.edittable td.editcellverify,.edittable td.editcell{ padding:3px;line-height:23px;}
        .edittable td.editcellmessage{ padding-left:0px;} 
        .align-c{text-align:center}
        .fc-f50{color:#f50}
        .fs-13{font-size:13px;_font-size:12px}
    </style>
</head>
<body >

            <div position="center" >   
            
   


             <!-- 出题-->
            
                <div id="ExamContent">
                    <div class="align-c">
             <h2>
            <span style="font-size: 25px;" id="spexname"></span>
           
        </h2>
        <div class="fc-f50 fs-13">
            <span id="spusername"></span> <span id="spLanxi"></span>
        </div>
        
    </div>
                  <!-- end-->
                   <div class="E_E_L_I_C_Right">
                      <div id="subViewID1" class="E_E_L_I_C_R_SubView">
                           <div class="E_E_L_I_C_R_Content">
                             
                             </div>
                           </div>
                      </div>
                   </div>
                 
               </div>
              <!-- end -->
          

<div id="dzTopicDiv" style=" direction:none;">
 <form id="fmActionExport" method="post" action="">
<input id="hdFileName" type="hidden" name="hdFileName" />
<input id="hdType" type="hidden" name="hdType" />
<input id="headval" type="hidden" name="headval" />
<input id="bodyval" type="hidden" name="bodyval" />
<div id="htmltempVal" style="display:none"></div>
</form>
</div>

<script type="text/javascript">
    function Export() {
        jQuery("#hdFileName").val("TestView");
        jQuery("#hdType").val("doc");
        jQuery("#headval").val(jQuery("head").html());
        jQuery("#bodyval").val(jQuery("#ExamContent").html());

      
        var pars = { hdFileName: jQuery("#hdFileName").val(), hdType: jQuery("#hdType").val(), headval: jQuery("#headval").val(), bodyval: jQuery("#bodyval").val() };
 
        //提交
        jQuery.post('../WebServer/ExportWordHandler.ashx?isApp=2', pars, function (data) {
            var Tdata = eval("(" + data + ")");
            if (Tdata.Result == 1) {

                if (parent.window.Export) {
                    parent.window.Export(Tdata.FileName, Tdata.Rooturl);
                }
            }
        });
    

    }

</script>
</body>
</html>
